<?php

namespace common\logics;

use Yii;
use common\helpers\Url;
use yii\helpers\ArrayHelper;
use common\models\dynamic\DynamicStats;

/**
 * This is the model class for table "{{%dynamic}}".
 *
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class TopicDynamicLogic extends \common\models\dynamic\Dynamic {

    public function fields() {
        return [
            'id',
            'user' => 'userCell',
            'subject',
            'publish_time' => 'updated_at',
        ];
    }

}
